package com.hxs.hxsserver.domain.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author liuchuan
 * @create 2024/9/21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("修改密码参数")
public class ChangePasswordDTO {

    @NotBlank
    @ApiModelProperty(value = "旧密码")
    private String oldPassword;

    @NotBlank
    @ApiModelProperty(value = "新密码")
    private String newPassword;
}
